package com.caoaman.sharding;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @ClassName: ShardingApplication
 * @Description: 主启动类
 * @Author: CaoAMan
 * @Create: 2021-12-17 14:21
 */
@SpringBootApplication
@MapperScan({"com.caoaman.sharding.mapper"})//映射mapper地址
public class ShardingApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShardingApplication.class, args);
    }
}
